package com.xqboss.apps.domain.punch;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.common.annotation.Excel;
import com.xqboss.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;

/**
 * 用户-打卡记录对象 punch_user_log
 *
 * @author xqboss
 * @date 2023-08-15
 */
@Data
public class PunchUserRecord extends BaseTable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 装备ID
     */
    @Excel(name = "装备藏品编号ID")
    @ApiModelProperty("藏品编号ID")
    private Long nftNumberId;

    /**
     * 打卡规则
     */
    @Excel(name = "打卡规则")
    @ApiModelProperty("打卡规则")
    private Long punchRuleId;

    /**
     * 打卡队伍
     */
    @Excel(name = "打卡队伍")
    @ApiModelProperty("打卡队伍")
    private Long teamId;

    /**
     * 打卡类型
     */
    @Excel(name = "打卡类型(1.喝水)")
    @ApiModelProperty("打卡类型(1.喝水)")
    private Integer type;

    /**
     * 幸运值
     */
    private Integer luck;
    /**
     * 天赋值
     */
    private Integer talent;
    /**
     * 耐久值
     */
    private Integer durable;
    /**
     * 坚固值
     */
    private Integer strong;

    /**
     * 收益折算系数
     */
    private BigDecimal incomeRatio;

    /**
     * 收益：幸运值 * 收益折算系数
     */
    @Excel(name = "收益")
    @ApiModelProperty("积分收益")
    private BigDecimal income;

    /**
     * 耐久度消耗系数
     */
    private BigDecimal durabilityRatio;

    /**
     * 耐久度消耗
     */
    @Excel(name = "耐久度消耗")
    @ApiModelProperty("耐久度消耗")
    private BigDecimal durabilityUse;

    /**
     * 破损度消耗
     */
    @Excel(name = "破损度消耗")
    @ApiModelProperty("破损度消耗")
    private BigDecimal breakageUse;

}
